package org.example.model;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Sinotn
 *
 * @Author: libin
 * @CreateTime: 2020-06-19 11:56
 * @Description: 物流
 */
public class Logistics implements Serializable {
    /**
     * 商品ID
     */
    private Long id;
    /**
     * 当前所在城市
     */
    private String currentCity;
    /**
     * 详细信息
     */
    private String desc;
    /**
     * 到达时间
     */
    private Date dateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCurrentCity() {
        return currentCity;
    }

    public void setCurrentCity(String currentCity) {
        this.currentCity = currentCity;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getDateTime() {
        return dateTime;
    }

    public void setDateTime(Date dateTime) {
        this.dateTime = dateTime;
    }

    public Logistics() {
    }

    public Logistics(Long id, String currentCity, String desc, Date dateTime) {
        this.id = id;
        this.currentCity = currentCity;
        this.desc = desc;
        this.dateTime = dateTime;
    }

    @Override
    public String toString() {
        return "Logistics{" +
                "id=" + id +
                ", currentCity='" + currentCity + '\'' +
                ", desc='" + desc + '\'' +
                ", dateTime=" + dateTime +
                '}';
    }
}
